#ifndef WINDOW_H
#define WINDOW_H

#include <windows.h>		// Header File For Windows
#include <gl\gl.h>			// Header File For The OpenGL32 Library
#include <gl\glu.h>			// Header File For The GLu32 Library

/********************************************************************
*
*       The mouse structure
*
*********************************************************************/
struct _mouse
{
    int mouseX;
    int mouseY;
    bool Left_Button;
};
extern _mouse MouseCoord;

/********************************************************************
*
*       The Window structure
*
*********************************************************************/
struct _WindowRect
{
    int x;
    int y;
    int width;
    int height;
};
extern _WindowRect WindowRect;

/********************************************************************
*
*       The window class
*
*********************************************************************/
extern HDC         g_HDC;

class Window
{
    private:
        WNDCLASSEX  windowClass;
        HWND        hwnd;
        MSG         msg;

        bool    Done;

    public:
        Window(HINSTANCE hInstance,int x, int y, int width, int height);
        virtual ~Window();

        void Clear();
        void Update();
        void PostQuit();
        bool Complete();

    protected:

};

#endif // WINDOW_H
